package com.zhiyou.app.shop.manager.dao.pojo;

import java.io.File;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * GoodsCategory entity. @author MyEclipse Persistence Tools
 */

public class GoodsCategory extends BasePojo {

	private static final long serialVersionUID = 1L;
	private String name;
	private String imgPath;
	private Integer orderNumber;
	private String remark;
	private Date createDate;
	private Boolean isDelete = Boolean.FALSE;
	private Integer level;
	private Set goodses = new HashSet(0);
	
	//view层调用
	private File goodsCategoryImg;
	private String goodsCategoryImgFileName;
	private String goodsCategoryImgContentType;
	// Constructors

	/** default constructor */
	public GoodsCategory() {
	}

	/** minimal constructor */
	public GoodsCategory(String name, String imgPath, Date createDate) {
		this.name = name;
		this.imgPath = imgPath;
		this.createDate = createDate;
	}

	/** full constructor */
	public GoodsCategory(String name, String imgPath, Integer orderNumber,
			String remark, Date createDate, Set goodses) {
		this.name = name;
		this.imgPath = imgPath;
		this.orderNumber = orderNumber;
		this.remark = remark;
		this.createDate = createDate;
		this.goodses = goodses;
	}

	// Property accessors

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImgPath() {
		return this.imgPath;
	}

	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}

	public Integer getOrderNumber() {
		return this.orderNumber;
	}

	public void setOrderNumber(Integer orderNumber) {
		this.orderNumber = orderNumber;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Boolean getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Boolean isDelete) {
		this.isDelete = isDelete;
	}
	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}
	
	public Set getGoodses() {
		return this.goodses;
	}

	public void setGoodses(Set goodses) {
		this.goodses = goodses;
	}

	public File getGoodsCategoryImg() {
		return goodsCategoryImg;
	}

	public void setGoodsCategoryImg(File goodsCategoryImg) {
		this.goodsCategoryImg = goodsCategoryImg;
	}

	public String getGoodsCategoryImgFileName() {
		return goodsCategoryImgFileName;
	}

	public void setGoodsCategoryImgFileName(String goodsCategoryImgFileName) {
		this.goodsCategoryImgFileName = goodsCategoryImgFileName;
	}

	public String getGoodsCategoryImgContentType() {
		return goodsCategoryImgContentType;
	}

	public void setGoodsCategoryImgContentType(String goodsCategoryImgContentType) {
		this.goodsCategoryImgContentType = goodsCategoryImgContentType;
	}

}